
import 'package:json_annotation/json_annotation.dart';

import 'moto_type.dart';
part 'moto_detailg.dart';

@JsonSerializable()
class MotoDetail {
  int ?firmware_id;
  String ?version;
  String ?name;
  String ?file_path;
  int ?file_size;
  String ?description;
  List<MotoType> ?type;
  MotoDetail();

  factory MotoDetail.fromJson(Map<String, dynamic> json) =>
      _$MotoDetailFromJson(json);
  Map<String, dynamic> toJson() => _$MotoDetailToJson(this);

}
